package com.han.http.util;

/**
 * @author: Han
 * @date: 2018/7/2 13:23
 * @dscription: TODO
 */
public class ArrayTool {
    public static void copyAToB(byte[] arrayB, int off, byte[] arrayA) {
        int i = off;
        for (byte b : arrayA) {
            try {
                arrayB[i++] = b;
            } catch (ArrayIndexOutOfBoundsException ignore) {
            }
        }
    }
}
